#ifndef __HUD_H
#define __HUD_H

#include "ioManager.h"
#include "gamedata.h"
#include "player.h"

class Hud
{
	public:
		Hud();
		~Hud();

		void draw() const;
		void update(int fps);
		void toggle();
		void setPlayer(Player *p);

	private:
		Hud(const Hud&);
		Hud &operator=(const Hud&);

		const Gamedata& gdata;
		const IOManager& io;
		SDL_Surface *screen;
		Player *player;
		bool visible;
		int fps;
};

#endif // !__HUD_H
